﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editsanpham.aspx.cs" Inherits="Thv.admin.Pages.editsanpham" %>
<%@ Register Assembly="DevExpress.Web.ASPxHtmlEditor.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxHtmlEditor" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxSpellChecker.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxSpellChecker" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="width: 100%; margin: 20px 20px 20px 10px">
    <table width="80%">
        <tr>
            <td style="width: 10%">
            </td>
            <td style="width: 88%" colspan="3">
                &nbsp;</td>
            <td style="width: 2%">
            </td>
        </tr>
        <tr>
            <td>
                Tên
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtName" runat="server" Width="370px">
                </dx:ASPxTextBox>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Loại
            </td>
            <td colspan="3">
                <dx:ASPxComboBox ID="cbLoai" runat="server" ValueType="System.String" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <ButtonStyle Width="13px">
                    </ButtonStyle>
                </dx:ASPxComboBox>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Hình ảnh
            </td>
            <td colspan="3">
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Giá
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtGia" runat="server" Width="170px">
                    <MaskSettings Mask="&lt;0..999999999g&gt;.&lt;00..99&gt;" />
                </dx:ASPxTextBox>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td valign="top">
                Mô tả
            </td>
            <td colspan="3">
                <dx:ASPxHtmlEditor ID="htmMota" runat="server" Width="100%" Height="600px" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue">
                    <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue">
                        <ViewArea>
                            <Border BorderColor="#859EBF" />
                        </ViewArea>
                    </Styles>
                    <StylesEditors ButtonEditCellSpacing="0">
                    </StylesEditors>
                    <StylesStatusBar>
                        <StatusBar TabSpacing="0px">
                            <Paddings Padding="0px" />
                        </StatusBar>
                    </StylesStatusBar>
                    <SettingsImageUpload UploadImageFolder="~/images/Product/">
                        <ValidationSettings AllowedFileExtensions=".jpe,.jpeg,.jpg,.gif,.png" MaxFileSize="50000000">
                        </ValidationSettings>
                    </SettingsImageUpload>
                    <SettingsImageSelector>
                        <CommonSettings AllowedFileExtensions=".jpe, .jpeg, .jpg, .gif, .png" />
           
                    </SettingsImageSelector>
                    <SettingsDocumentSelector>
                        <CommonSettings AllowedFileExtensions=".rtf, .pdf, .doc, .docx, .odt, .txt, .xls, .xlsx, .ods, .ppt, .pptx, .odp" />
                    </SettingsDocumentSelector>
                    <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                        <LoadingPanel Url="~/App_Themes/Office2010Blue/HtmlEditor/Loading.gif">
                        </LoadingPanel>
                    </Images>
                    <ImagesFileManager>
                        <FolderContainerNodeLoadingPanel Url="~/App_Themes/Office2010Blue/Web/tvNodeLoading.gif">
                        </FolderContainerNodeLoadingPanel>
                        <LoadingPanel Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                        </LoadingPanel>
                    </ImagesFileManager>
                </dx:ASPxHtmlEditor>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Gợi ý
            </td>
            <td colspan="3">
                <dx:ASPxCheckBox ID="chkGoiy" runat="server" CheckState="Unchecked">
                </dx:ASPxCheckBox>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Trang chủ
            </td>
            <td>
                <dx:ASPxCheckBox ID="chktrangchu" runat="server" CheckState="Unchecked">
                </dx:ASPxCheckBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="style1">
            </td>
            <td class="style1" colspan="3">
                <asp:HiddenField ID="hdfID" runat="server" />
            </td>
            <td class="style1">
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td colspan="3">
                <dx:ASPxButton ID="btnSave" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    ValidationGroup="grup6" CssPostfix="Office2010Blue" Font-Names="Verdana" Font-Size="9pt"
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="SAVE" Width="150px"
                    OnClick="btnSave_Click">
                </dx:ASPxButton>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td colspan="3">
                <dx:ASPxLabel ID="lbThongbao" runat="server">
                </dx:ASPxLabel>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
</div>
    </div>
    </form>
</body>
</html>
